﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;

namespace BBMS.DAL.Factory
{
    public sealed class BankFactory
    {
        public static BBMS.DAL.IDAL.IBank Create(string path)
        {
            string className = path + ".Bank";
            return (BBMS.DAL.IDAL.IBank)Assembly.Load(path).CreateInstance(className);
        }
    }
}